public class TestDemo {
    public static void main(String[] args) {
        String str="123";
        int ret=Integer.valueOf(str);
        int ret2=Integer.parseInt(str);
        System.out.println(ret);
        System.out.println(ret2);
    }
    public static void main12(String[] args) {
        int num = 10;
        String ret = num+"";
        System.out.println(ret);
        String ret2 = String.valueOf(num);
        System.out.println(ret2);
    }
    public static void main11(String[] args) {
        String str1="hello";
        String str2="world";
        System.out.println(str1+str2);
        int a=10;
        int b=20;
        System.out.println("a="+a+"b="+b);
        System.out.println("test="+a+b);
        System.out.println(a+b+"test");
    }
    public static void main10(String[] args) {
        int a=10;
        long b=100L;
        a=(int)b;
        b=a;
    }
    public static void main9(String[] args) {
        boolean flag1=true;
        boolean flag2=false;
        System.out.println(flag1);
        System.out.println(flag2);
    }
    public static void main8(String[] args) {
        char a='A';
        char b='男';
        System.out.println(a);
        System.out.println(b);
        System.out.println(Character.MAX_VALUE);
        System.out.println(Character.MIN_VALUE);
    }
    public static void main7(String[] args) {
        float a=19.9f;
        System.out.println(a);
    }
    public static void main6(String[] args) {
        double d=12.5;
        System.out.println(d);
        double num=1.1;
        System.out.println(num*num);
    }
    public static void main5(String[] args) {
        byte a=1;
        System.out.println(a);
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Byte.MIN_VALUE);
    }
    public static void main4(String[] args) {
        short a=10;
        short b=Short.MAX_VALUE;
        short c=Short.MIN_VALUE;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    }
    public static void main3(String[] args) {
        long l=12L;
        System.out.println(l);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);
    }
    public static void main1(String[] args) {
        int a1=Integer.MAX_VALUE+1;
        System.out.println(a1);
    }
    public static void main2(String[] args) {
        int a=100;
        System.out.println(a);
        int b=Integer.MAX_VALUE;
        int c=b+1;
        System.out.println(b);
        System.out.println(c);
    }
}
